package com.pinecone.entity;

import java.io.Serializable;
import java.util.Date;

import com.pinecone.common.validator.group.AddGroup;
import com.pinecone.common.validator.group.UpdateGroup;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;


/**
 * 活动类别
 * 
 * @author hushangjie
 * @email 979783618@qq.com
 * @date 2017-09-27 21:18:16
 */
@Data
@Accessors(chain = true)
public class LiveTypeEntity implements Serializable {
	private static final long serialVersionUID = 1L;

    @NotNull(message = "该字段不能为空",groups = {UpdateGroup.class})
	private Integer liveTypeId;
	//直播类别名称
    @NotNull(message = "该字段不能为空",groups = {AddGroup.class, UpdateGroup.class})
	private String typeName;
	//直播类别描述
//    @NotNull(message = "该字段不能为空",groups = {AddGroup.class, UpdateGroup.class})
    private String typeDesc;
	//直播类别所属机构id
    @NotNull(message = "该字段不能为空",groups = {UpdateGroup.class})
    private Integer orgId;

}
